From: Rosen Penev Date: Mon, 4 Aug 2025 22:46:21 +0000 (-0700) Subject: tcpreplay: compile as gnu11 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=39d0a49c0d5f5193f2ba7c70799c8f3dba38a531;p=feed%2Fpackages.git tcpreplay: compile as gnu11 Fixes compilation under GCC15. Signed-off-by: Rosen Penev --- diff --git a/net/tcpreplay/Makefile b/net/tcpreplay/Makefile index 55c4d33c8d..209173a88c 100644 --- a/net/tcpreplay/Makefile +++ b/net/tcpreplay/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tcpreplay PKG_VERSION:=4.5.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION) @@ -144,6 +144,8 @@ CONFIGURE_ARGS += \ --with-libdnet="$(STAGING_DIR)/usr" \ --with-libpcap="$(STAGING_DIR)/usr" +TARGET_CFLAGS += -std=gnu11 + define tcpreplayTemplate define Package/$(1)/install $(INSTALL_DIR) $$(1)/usr/bin ; \